package com.shop.beans;

public class Address {
    private int id;
    private int user_id;
    private String address;
    private int postalcode;
    private String conname;
    private String conphone;

    public Address() {
    }

    public Address(int id, int user_id, String address, int postalcode, String conname, String conphone) {
        this.id = id;
        this.user_id = user_id;
        this.address = address;
        this.postalcode = postalcode;
        this.conname = conname;
        this.conphone = conphone;
    }

    public Address(int user_id, String address, int postalcode, String conname, String conphone) {
        this.user_id = user_id;
        this.address = address;
        this.postalcode = postalcode;
        this.conname = conname;
        this.conphone = conphone;
    }

    @Override
    public String toString() {
        return "Address{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", address='" + address + '\'' +
                ", postalcode=" + postalcode +
                ", conname='" + conname + '\'' +
                ", conphone='" + conphone + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getPostalcode() {
        return postalcode;
    }

    public void setPostalcode(int postalcode) {
        this.postalcode = postalcode;
    }

    public String getConname() {
        return conname;
    }

    public void setConname(String conname) {
        this.conname = conname;
    }

    public String getConphone() {
        return conphone;
    }

    public void setConphone(String conphone) {
        this.conphone = conphone;
    }
}
